package org.eclipsercp.hyperbola.control;

import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.widgets.Item;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.Widget;

public abstract class MapItem extends Item {
	protected Menu contextMenu;

	public abstract String getId();

	public MapItem(Widget parent, int style) {
		super(parent, style);
	}

	public MapItem(Widget parent, int style, int index) {
		super(parent, style, index);
	}

	public Menu getContextMenu() {
		return contextMenu;
	}

	public void setContextMenu(Menu contextMenu) {
		this.contextMenu = contextMenu;
	}

	@Override
	public Image getImage() {
		return super.getImage();
	}

	@Override
	public String getText() {
		return super.getText();
	}
}
